package com.plugin.manage.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 退住申请详情VO
 *
 * @author mark
 * @date 2025-08-04
 */
@Data
@Schema(name = "ElderCheckoutApplymentVO", description = "退住申请详情VO")
public class ElderCheckoutApplymentVO {

    @Schema(description = "退住记录ID")
    private Long id;

    @Schema(description = "长者姓名")
    private String realname;

    @Schema(description = "年龄")
    private Integer age;

    @Schema(description = "性别")
    private Integer sex;

    @Schema(description = "房间号")
    private String roomNumber;

    @Schema(description = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

    @Schema(description = "紧急联系人姓名")
    private String emgencyName;

    @Schema(description = "紧急联系人电话")
    private String emgencyPhone;

    @Schema(description = "与长者关系")
    private String relation;

    @Schema(description = "退住日期")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime checkOutDate;

    @Schema(description = "退住原因")
    private Integer checkOutReason;

    @Schema(description = "护理等级")
    private String careLevel;

    @Schema(description = "健康标签")
    private String healthLabel;

    @Schema(description = "支付金额")
    private BigDecimal payAmount;
}
